package com.qf.erp_system_admin.entity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author baishi Li
 * @date
 * @desc
 */
public class User {
    @ExcelIgnore
    private int lgId;
    @ExcelProperty("用户名")
    private String lgUsername;
    @ExcelProperty("密码")
    private  String lgPassword;
    @ExcelProperty("姓名")
    private  String lgName;
    @ExcelProperty("部门")
    private String lgDepartment;
    @ExcelProperty("岗位")
    private  String lgDepartmentJob;
    @ExcelProperty("电话")
    private String lgPhone;
    @ExcelProperty("权限")
    private int lgPower;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @ExcelProperty("创建时间")
    private Date lgCreatTime;

    @Override
    public String toString() {
        return "User{" +
                "lgId=" + lgId +
                ", lgUsername='" + lgUsername + '\'' +
                ", lgPassword='" + lgPassword + '\'' +
                ", lgName='" + lgName + '\'' +
                ", lgDepartment='" + lgDepartment + '\'' +
                ", lgDepartmentJob='" + lgDepartmentJob + '\'' +
                ", lgPhone='" + lgPhone + '\'' +
                ", lgPower=" + lgPower +
                ", lgCreatTime=" + lgCreatTime +
                '}';
    }

    public int getLgId() {
        return lgId;
    }

    public void setLgId(int lgId) {
        this.lgId = lgId;
    }

    public String getLgUsername() {
        return lgUsername;
    }

    public void setLgUsername(String lgUsername) {
        this.lgUsername = lgUsername;
    }

    public String getLgPassword() {
        return lgPassword;
    }

    public void setLgPassword(String lgPassword) {
        this.lgPassword = lgPassword;
    }

    public String getLgName() {
        return lgName;
    }

    public void setLgName(String lgName) {
        this.lgName = lgName;
    }

    public String getLgDepartment() {
        return lgDepartment;
    }

    public void setLgDepartment(String lgDepartment) {
        this.lgDepartment = lgDepartment;
    }

    public String getLgDepartmentJob() {
        return lgDepartmentJob;
    }

    public void setLgDepartmentJob(String lgDepartmentJob) {
        this.lgDepartmentJob = lgDepartmentJob;
    }

    public String getLgPhone() {
        return lgPhone;
    }

    public void setLgPhone(String lgPhone) {
        this.lgPhone = lgPhone;
    }

    public int getLgPower() {
        return lgPower;
    }

    public void setLgPower(int lgPower) {
        this.lgPower = lgPower;
    }

    public Date getLgCreatTime() {
        return lgCreatTime;
    }

    public void setLgCreatTime(Date lgCreatTime) {
        this.lgCreatTime = lgCreatTime;
    }
}
